package com.proposition.commons.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * ${DESCRIPTION}
 *
 * @author 杨凯
 * @create 2017-11-06 10:09
 **/
@TableName("paper_exam")
public class PaperExam extends Model<PaperExam> {

	@TableId
	private String id;
	private String paperId;
	private String exam1;
	private String exam2;
	private String exam3;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPaperId() {
		return paperId;
	}

	public void setPaperId(String paperId) {
		this.paperId = paperId;
	}

	public String getExam1() {
		return exam1;
	}

	public void setExam1(String exam1) {
		this.exam1 = exam1;
	}

	public String getExam2() {
		return exam2;
	}

	public void setExam2(String exam2) {
		this.exam2 = exam2;
	}

	public String getExam3() {
		return exam3;
	}

	public void setExam3(String exam3) {
		this.exam3 = exam3;
	}

	@Override
	public String toString() {
		return "PaperExam{" +
				"id='" + id + '\'' +
				", paperId='" + paperId + '\'' +
				", exam1='" + exam1 + '\'' +
				", exam2='" + exam2 + '\'' +
				", exam3='" + exam3 + '\'' +
				'}';
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}
}
